<div class="row-content am-cf">
    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="widget am-cf">
                <div class="widget-head am-cf">
                    <div class="widget-title am-fl">银行卡管理</div>
                     <a href="{:url('user/bank_card_add')}"><button type="button" class="am-btn am-btn-primary am-fr">创建银行卡</button></a>
                </div>



                {foreach name='banks' id='vo'}
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-4">
                    <div class="widget am-cf">
                        <div class="widget-head am-cf">
                            <div class="widget-title am-fl">{$vo.bankname}</div>
                            {eq name="vo.default" value="1"}
                                <div class="widget-function am-fr">
                                    默认
                                </div>
                            {/eq}
                            
                        </div>
                        
                        <div class="widget-body am-fr">
                            <div class="am-fl">
                                <div class="widget-fluctuation-period-text">
                                    {$vo.realname}
                                    <div class="tpl-table-black-operation" style="padding-top: 10px;">
                                        <a href="{:url('user/bank_update')}?id={$vo.id}">修改</a>
                                    </div>
                                </div>
                            </div>
                            <div class="am-fr am-cf">
                                <div class="widget-fluctuation-description-amount text-success" am-cf>
                                    {$vo.bankcard}
                                </div>
                                <div class="widget-fluctuation-description-amount text-success" am-cf>
                                    {$vo.bankaddress}
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                {/foreach}
                
            </div>
        </div>
    </div>
</div>